package com.snowy.hidden.user.service;

import com.snowy.framework.common.base.service.BaseService;
import com.snowy.hidden.user.domain.model.SysOrg;
import com.snowy.hidden.user.domain.req.BizOrgCategoryReq;

import javax.validation.Valid;
import java.util.List;

/**
 * 组织(SysOrg)表服务接口
 *
 * @author makejava
 * @since 2023-11-30 00:38:28
 */
public interface SysOrgService extends BaseService<SysOrg> {


    /**
     * 根据分类和深度查询组织机构
     * @param bizOrgCategoryReq
     * @return
     */
    List<SysOrg> listByCategoryAndDepth(@Valid BizOrgCategoryReq bizOrgCategoryReq);
}
